﻿
@{
    Layout = null;
}

<div>
    <div class="col-12 pr-0">
        <p style="text-align:center;color:#982fee;font-weight:bold;font-size: xx-large;">EasyLims</p>
    </div>
    <div class="input-group">
        <div class="col-3 pr-0 pl-0">
            <span class="input-group-text font-rfs border-radius-noright noRightBorder">当前版本</span>
        </div>
        <div class="col-9 pl-0 input-group">
            <text id="EasyLims-Version" class="form-control font-rfs border-radius-noleft"></text>
        </div>
    </div>
    <div class="input-group">
        <div class="col-3 pr-0 pl-0">
            <span class="input-group-text font-rfs border-radius-noright noRightBorder">授权公司</span>
        </div>
        <div class="col-9 pl-0">
            <text id="EasyLims-Authorization" class="form-control font-rfs border-radius-noleft"></text>
        </div>
    </div>
    <div class="input-group">
        <div class="col-3 pr-0 pl-0">
            <span class="input-group-text font-rfs border-radius-noright noRightBorder">出品公司</span>
        </div>
        <div class="col-9 pl-0">
            <text id="EasyLims-Production" class="form-control font-rfs border-radius-noleft"></text>
        </div>
    </div>
    <div class="input-group">
        <div class="col-3 pr-0 pl-0">
            <span class="input-group-text font-rfs border-radius-noright noRightBorder">咨询电话</span>
        </div>
        <div class="col-9 pl-0">
            <text id="EasyLims-Telephone" class="form-control font-rfs border-radius-noleft"></text>
        </div>
    </div>
</div>
<div class="text-right" style="padding-top: 5px;">
    <button id="EasyLims-cancel" data-dismiss="modal" class="btn btn-info font-rfs">关闭</button>
</div>

<script>
    $(document).ready(function () {
        $.post("\\Common\\getGlobalsContainName", {
            KyeName: 'EasyLims_'
        }, function (data) {
            for (var i = 0; i < data.length; i++) {
                if (data[i].keyName == 'EasyLims_Version') {
                    $('#EasyLims-Version').text(data[i].keyValue);
                }
                if (data[i].keyName == 'EasyLims_Authorization') {
                    $('#EasyLims-Authorization').text(data[i].keyValue);
                }
                if (data[i].keyName == 'EasyLims_Production') {
                    $('#EasyLims-Production').text(data[i].keyValue);
                }
                if (data[i].keyName == 'EasyLims_Telephone') {
                    $('#EasyLims-Telephone').text(data[i].keyValue);
                }
            }
        });
    });
</script>